/*
 * @Description: 用户头像
 * @Author: mark
 * @Date: 2019-01-19 22:00:46
 * @LastEditTime: 2019-01-19 23:43:04
 * @LastEditors: Please set LastEditors
 */
import _axios from "@/utils/requestUtil";
import _urlConfig from "@/config/UserImgURLConfig";
class UserImg {
    /**
     * 12.更新用户头像
     */
    add(imageUrl){
      return _axios.request({
        url: _urlConfig.addImages,
        data:{
            imageUrl: imageUrl
        },
        method: "post"
      });
    }

    /**
   * 12.获取该用户的头像列表
   */
  getImages(pageInfo){
    return _axios.request({
      url: _urlConfig.getImages,
      data: pageInfo,
      method: "post"
    });
  }


  
  }
  export default UserImg;